package com.delivery.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel(description = "提交订单返回值")
@Data
@Builder
public class PlaceOrderVO {

    @ApiModelProperty(value = "订单ID", required = true, example = "1")
    private Long id;

    @ApiModelProperty(value = "订单金额", required = true, example = "20.5")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单号", required = true, example = "ORDER123456")
    private String orderNumber;

    @ApiModelProperty(value = "下单时间", required = true, example = "2023-10-01T12:00:00Z")
    private LocalDateTime orderTime;
}